/**
 * Copyright (c) Enalean, 2018. All Rights Reserved.
 *
 * This file is a part of Tuleap.
 *
 * Tuleap is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * Tuleap is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with Tuleap. If not, see <http://www.gnu.org/licenses/>.
 */

$transition-duration: 50ms;
$transition-delay: 500ms;

.backlog-item-details-moves {
    position: absolute;
    z-index: 1000;
    top: 0;
    right: 13px;
    height: 100%;
    transition: opacity $transition-duration $transition-delay;
    opacity: 0;
}

.backlog-item-details-move {
    display: flex;
    position: absolute;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border-radius: 50%;
    font-size: 10px;

    &:first-child {
        top: -4px;
    }

    &:last-child {
        bottom: -4px;
    }
}

.backlog-item-details-move-icon {
    position: relative;

    &.fa-chevron-up,
    &.fa-chevron-down {
        top: -2px;
        left: 0px;
    }

    &.fa-chevron-down {
        top: -1px;
    }

    &.fa-angle-double-up {
        top: -1px;
        left: 0;
        font-size: 14px;
        font-weight: 700;
    }

    &.fa-angle-double-down {
        top: 1px;
        left: 0;
        font-size: 14px;
        font-weight: 700;
    }
}
